package com.jy.adscm.wechat.bean;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;

/**
 * <p>
 * 机器部装设置
 * </p>
 *
 * @author zyl
 * @since 2019-09-29
 */
public class JqbzSettings implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 部件名称
     */
    private String name;
    /**
     * 部件编码
     */
    private String code;
    /**
     * 部件类型
     */
    private String type;
    /**
     * 创建人
     */
    private String creator;
    /**
     * 创建时间
     */
    @TableField("createTime")
    private Date createTime;
    /**
     * 启用（1）启动（0）禁用
     */
    @TableField("isEnable")
    private Integer isEnable;
    /**
     * 排序
     */
    private Integer rank;
    /**
     * 耗时(单个工序)
     */
    @TableField("useTime")
    private Float useTime;
    /**
     * 工序生产总个数
     */
    private Integer nums;
    private String partType;
    /**
     * 工序执行者
     */
    private String performer;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Integer isEnable) {
        this.isEnable = isEnable;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Float getUseTime() {
        return useTime;
    }

    public void setUseTime(Float useTime) {
        this.useTime = useTime;
    }

    public Integer getNums() {
        return nums;
    }

    public void setNums(Integer nums) {
        this.nums = nums;
    }

    public String getPartType() {
        return partType;
    }

    public void setPartType(String partType) {
        this.partType = partType;
    }

    public String getPerformer() {
        return performer;
    }

    public void setPerformer(String performer) {
        this.performer = performer;
    }

    @Override
    public String toString() {
        return "JqbzSettings{" +
        "id=" + id +
        ", name=" + name +
        ", code=" + code +
        ", type=" + type +
        ", creator=" + creator +
        ", createTime=" + createTime +
        ", isEnable=" + isEnable +
        ", rank=" + rank +
        ", useTime=" + useTime +
        ", nums=" + nums +
        ", partType=" + partType +
        ", performer=" + performer +
        "}";
    }
}
